import request from '@/utils/request'
// import qs from 'qs'  //处理json数据

export const ee=()=>
  request({
    url:"/emps",
    method:"get"
  })

  export const upd=(emp)=>
  request({
    url:"/upd",
    method:"post",
    data:emp
  })


  export const add=(emp)=>
  request({
    url:"/add",
    method:"post",
    data:emp
  })


  export const del=(id)=>
  request({
    url:""+id,
    method:"delete",
  })
